package;
extern class Editor
{
	public static var firstView(default, never):View;
	public static var currentView(default, never):View;
	public static var secondView(default,never):View;
	
	public static var clipBoard(default, never):String;
	public static var pluginConfigDir(default, never):String;
	public static var nppDir(default, never):String;
	
	public static var langs(default, never):Dynamic;
	
	public static var tabBarHidden(default, default):Bool;
	public static var toolBarHidden(default, default):Bool;
	public static var menuHidden(default, default):Bool;
	public static var statusBarHidden(default, default):Bool;

	public static function addMenu(v:Dynamic /*text:String*/):Menu;
	
	public static function saveAll():Void;
	public static function alert(value:String):Void;
	public static function open(value:String):Void;
	public static function runMenuCmd(cmd: Int):Void;
	public static function setListener(cfg:Dynamic):Void;
	public static function addSystemHotKey(cfg:Dynamic):Void;
	
	public static function decodeFrom(codepage:Int, value:String):String;
	public static function encodeTo(codepage:Int, value:String):String;
}

